package com.mijie.homi.ns.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mijie.homi.common.domain.mood.Mood;
import com.mijie.homi.common.domain.mood.MoodInfo;
import com.mijie.homi.ns.dao.MoodDao;

@Service
public class MoodService {

	@Autowired
	private MoodDao dao;
	
	public List<MoodInfo> listMoodInfo(){
		return dao.listMoodInfo();
	}
	
	public Mood getRecentlyMood(int userId){
		return dao.getRecentlyMood(userId);
	}
}
